package com.frinder.netty;

import lombok.Data;

import java.io.Serializable;

/**
 * Created by kiktech on 2017/8/4.
 */
@Data
public class NettyResponse implements Serializable {

    private int code;

    private String message;

    public NettyResponse success() {
        code = 200;
        message = "Connect Successfully!";
        return this;
    }

}
